
  const SYSTEM_INFO=uni.getSystemInfoSync()
  export const statusBarHeight=SYSTEM_INFO.statusBarHeight || 10
  
  export const getMenu=()=>{
    if(uni.getMenuButtonBoundingClientRect){
     const {top,height}=uni.getMenuButtonBoundingClientRect()
      return (top-statusBarHeight)*2+height
    }else{
      return 40
    }
  }
  
  
  export const b=statusBarHeight+getMenu()
  
  // 返回箭头的位置
  export const getArrow=()=>{
    if(uni.getMenuButtonBoundingClientRect){
     const {top}=uni.getMenuButtonBoundingClientRect()
      return top
    }else{
      return 40
    }
  }